home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / utils / geom / RotatedRectangle.as
Text File  |  2011-09-19  |  4KB  |  79 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    e.f.h[┬º┬ºconstant(4)] = new g();
  33. }
  34. §§pop();
  35. if(!e.f.h[§§constant(4)][§§constant(5)])
  36. {
  37.    var _loc2_ = f.h[┬º┬ºconstant(4)][┬º┬ºconstant(5)] = function()
  38.    {
  39.    }[┬º┬ºconstant(6)];
  40.    f.h[┬º┬ºconstant(4)][┬º┬ºconstant(5)] = function()
  41.    {
  42.    }[┬º┬ºconstant(7)] = function(pCenterPoint, pRect, pAng)
  43.    {
  44.       var _loc1_ = new g();
  45.       var _loc2_ = pCenterPoint;
  46.       var _loc3_ = pRect;
  47.       var _loc8_ = pAng;
  48.       _loc1_[┬º┬ºconstant(8)] = _loc2_;
  49.       _loc1_[┬º┬ºconstant(9)] = _loc3_;
  50.       _loc1_[┬º┬ºconstant(10)] = _loc8_;
  51.       _loc1_[┬º┬ºconstant(11)] = f.h[┬º┬ºconstant(14)][┬º┬ºconstant(15)](_loc2_[┬º┬ºconstant(13)],_loc2_[┬º┬ºconstant(12)],_loc3_[┬º┬ºconstant(13)] - _loc2_[┬º┬ºconstant(13)],_loc3_[┬º┬ºconstant(12)] - _loc2_[┬º┬ºconstant(12)],_loc8_);
  52.       _loc1_[┬º┬ºconstant(16)] = f.h[┬º┬ºconstant(14)][┬º┬ºconstant(15)](_loc2_[┬º┬ºconstant(13)],_loc2_[┬º┬ºconstant(12)],_loc3_[┬º┬ºconstant(13)] + _loc3_[┬º┬ºconstant(17)] - _loc2_[┬º┬ºconstant(13)],_loc3_[┬º┬ºconstant(12)] - _loc2_[┬º┬ºconstant(12)],_loc8_);
  53.       _loc1_[┬º┬ºconstant(18)] = f.h[┬º┬ºconstant(14)][┬º┬ºconstant(15)](_loc2_[┬º┬ºconstant(13)],_loc2_[┬º┬ºconstant(12)],_loc3_[┬º┬ºconstant(13)] + _loc3_[┬º┬ºconstant(17)] - _loc2_[┬º┬ºconstant(13)],_loc3_[┬º┬ºconstant(12)] + _loc3_[┬º┬ºconstant(19)] - _loc2_[┬º┬ºconstant(12)],_loc8_);
  54.       _loc1_[┬º┬ºconstant(20)] = f.h[┬º┬ºconstant(14)][┬º┬ºconstant(15)](_loc2_[┬º┬ºconstant(13)],_loc2_[┬º┬ºconstant(12)],_loc3_[┬º┬ºconstant(13)] - _loc2_[┬º┬ºconstant(13)],_loc3_[┬º┬ºconstant(12)] + _loc3_[┬º┬ºconstant(19)] - _loc2_[┬º┬ºconstant(12)],_loc8_);
  55.       var _loc4_ = _loc1_[┬º┬ºconstant(11)][┬º┬ºconstant(13)];
  56.       _loc4_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(22)](_loc4_,_loc1_[┬º┬ºconstant(16)][┬º┬ºconstant(13)]);
  57.       _loc4_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(22)](_loc4_,_loc1_[┬º┬ºconstant(18)][┬º┬ºconstant(13)]);
  58.       _loc4_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(22)](_loc4_,_loc1_[┬º┬ºconstant(20)][┬º┬ºconstant(13)]);
  59.       var _loc7_ = _loc1_[┬º┬ºconstant(11)][┬º┬ºconstant(13)];
  60.       _loc7_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(23)](_loc7_,_loc1_[┬º┬ºconstant(16)][┬º┬ºconstant(13)]);
  61.       _loc7_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(23)](_loc7_,_loc1_[┬º┬ºconstant(18)][┬º┬ºconstant(13)]);
  62.       _loc7_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(23)](_loc7_,_loc1_[┬º┬ºconstant(20)][┬º┬ºconstant(13)]);
  63.       var _loc5_ = _loc1_[┬º┬ºconstant(11)][┬º┬ºconstant(12)];
  64.       _loc5_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(22)](_loc5_,_loc1_[┬º┬ºconstant(16)][┬º┬ºconstant(12)]);
  65.       _loc5_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(22)](_loc5_,_loc1_[┬º┬ºconstant(18)][┬º┬ºconstant(12)]);
  66.       _loc5_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(22)](_loc5_,_loc1_[┬º┬ºconstant(20)][┬º┬ºconstant(12)]);
  67.       var _loc6_ = _loc1_[┬º┬ºconstant(11)][┬º┬ºconstant(12)];
  68.       _loc6_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(23)](_loc6_,_loc1_[┬º┬ºconstant(16)][┬º┬ºconstant(12)]);
  69.       _loc6_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(23)](_loc6_,_loc1_[┬º┬ºconstant(18)][┬º┬ºconstant(12)]);
  70.       _loc6_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(23)](_loc6_,_loc1_[┬º┬ºconstant(20)][┬º┬ºconstant(12)]);
  71.       var _loc10_ = _loc7_ - _loc4_;
  72.       var _loc9_ = _loc6_ - _loc5_;
  73.       _loc1_[┬º┬ºconstant(24)] = new eval(┬º┬ºconstant(25))[┬º┬ºconstant(4)][┬º┬ºconstant(26)](_loc4_,_loc5_,_loc10_,_loc9_);
  74.       return _loc1_;
  75.    };
  76.    ┬º┬ºpush(┬º┬ºconstant(27)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(5)][┬º┬ºconstant(6)],null,1));
  77. }
  78. §§pop();
  79.